package com.example.springcloudindex.web;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
//配置路径中不能有zuul关键字
@RequestMapping("demo")
public class ZuulAction {

    @RequestMapping("hello")
    public String hello(){
        return "hello zuul";
    }
}
